/* 背景模糊

.bg {
    width: 100%;
    height: 100vh;
    position: absolute;
    background: url("/assets/img/bg.jpg") no-repeat center;
    background-size: cover;
    padding: 1px;
    box-sizing: border-box;
    z-index: -2;
}

.bg:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: inherit;
    filter: blur(8px);
    z-index: -1;
}

.drag {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    text-align: center;
    z-index: 11;
} */

body::-webkit-scrollbar {
    display: none;
}

/*图片查看器 开始*/

.magnify-modal {
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3);
}

.magnify-header .magnify-toolbar {
    background-color: rgba(0, 0, 0, .5);
}

.magnify-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
}

.magnify-footer .magnify-toolbar {
    background-color: rgba(0, 0, 0, .5);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.magnify-header, .magnify-footer {
    pointer-events: none;
}

.magnify-button {
    pointer-events: auto;
}

/*图片查看器 结束*/

.chat-box {
    height: 100vh;
    width: 100%;
    /* box-shadow: 0 0 20px rgba(0, 0, 0, .3); */
    background: #fff;
    position: relative;
    padding: 0;
}

.chat-header {
    height: 50px;
    line-height: 50px;
    background: #3399ff;
    color: #fff;
    text-align: center;
    font-size: 20px;
    position: relative;
}

.chat-mian {
    width: 100%;
    height: 70%;
    /* background: #ff8000; */
    position: relative;
    overflow-y: auto;
    padding-bottom: 10px;
}

.chat-mian::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 10px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
    display: none;
}

.chat-mian::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    background: #3d9eff;
}

.chat-mian::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #ededed;
}

.change-but {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3px;
}

.chat-edit {
    height: calc(30% - 50px);
    width: 100%;
    /* background: #06bd00; */
}

#editor {
    position: relative;
    top: 0px;
    height: 100%;
}

#editor>div:nth-child(1) {
    background: #fff !important;
    border: none !important;
    border-top: 1px solid #ddd !important;
}

#editor>div:nth-child(2) {
    height: calc(100% - 31px) !important;
    border: none !important;
    overflow: hidden;
}

#editor>div:nth-child(2)>div::-webkit-scrollbar {
    display: none;
}

#editor>div:nth-child(2)>div {
    padding: 0 15px;
}

#editor>div:nth-child(2)>div>p {
    margin: 0;
}

.info-box {
    padding: 4px 15px;
    padding-bottom: 0;
    width: 100%;
    float: left;
}

.info {
    margin-bottom: 5px;
    z-index: 1;
}

.time {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    margin-top: 10px;
}

.avatar {
    width: 46px;
    height: 46px;
    float: left;
    border-radius: 100%;
    overflow: hidden;
    margin-right: 30px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-info, .img-info, .video-info {
    background: rgb(230, 230, 230);
    color: #000;
    padding: 10px 15px;
    font-size: 15px;
    float: left;
    max-width: 60%;
    border-radius: 6px;
    line-height: 26px;
    position: relative;
}

.text-info p {
    margin: 0;
    word-wrap: break-word;
}

.text-info img {
    margin: 0 5px;
    width: 22px;
    height: 22px;
    position: relative;
    top: -2px;
}

.img-info, .video-info {
    background: none;
    padding: 0;
    overflow: hidden;
}

.img-info img {
    max-width: 100%;
    max-height: 160px;
    object-fit: cover;
}

.info>span {
    display: block;
    position: absolute;
    width: 24px;
    height: 16px;
    background: rgb(230, 230, 230);
    left: -3px;
    top: 14.6px;
    transform: rotate(-25deg) skewX(45deg);
    z-index: -1;
    border-radius: 5px;
}

.user-info-box .avatar {
    float: right;
    margin-right: 0;
    margin-left: 30px;
}

.user-info-box .info {
    float: right;
}

.user-info-box .info span {
    left: auto;
    right: -3px;
}

.chat-edit .send-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: #fff;
    background: #3399ff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    box-shadow: 0 0 10px #3399ff;
    z-index: 11111;
    outline: none;
}

.w-e-text-container>div img {
    margin: 0 5px;
    width: 25px;
    height: auto;
}

.w-e-emoticon-container img {
    width: 22px;
    height: 22px;
    margin: 2px 0 !important;
}

.info.video-info {
    max-width: 60%;
    max-height: 160px;
}

.info.video-info video {
    width: 100%;
    object-fit: cover;
}

.w-e-panel-tab-content::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 6px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.w-e-panel-tab-content::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    background: #3d9eff;
}

.w-e-panel-tab-content::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #ededed;
}

.w-e-panel-container {
    border-radius: 5px;
    border: none !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2) !important;
}

.w-e-panel-container {
    height: calc(100% - 30px) !important;
    top: 10px !important;
    width: 315px !important;
}

.w-e-panel-tab-content {
    height: calc(100% - 30px) !important;
}

.w-e-text-container .w-e-panel-container {
    left: 180px !important;
}

.w-e-panel-tab-content>div:nth-child(2), .w-e-up-img-container {
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

.magnify-modal {
    z-index: 99999999999 !important;
}

.w-e-panel-tab-content>div:nth-child(2) {
    top: 130px;
}

/* 视频播放器  开始*/

.video-js {
    object-fit: cover;
    border-radius: 6px;
    overflow: hidden;
}

.video-js button {
    outline: none;
    transition: all .4s;
    border-radius: 6px;
}

.video-js button:hover {
    background: #3399ff;
}

.vjs-button>.vjs-icon-placeholder:before {
    line-height: 36px;
}

/* 视频播放器  结束*/